package com.lwc.mapper.puchase;

import com.lwc.bean.puchare.PurchaseDetail;
import com.lwc.common.crud.IMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//采购明细
@Mapper
public interface PurchaseDetailMapper extends IMapper<PurchaseDetail> {

    int bathsave(@Param("id") int id, @Param("PurchaseDetail") List<PurchaseDetail>purchaseDetailList);

    /**
     *
     * @param id 采购单ID
     * @return
     */
    //删除
    int deleteById(int id);
}
